package com.xqboss.apps.enums.user;


import com.xqboss.common.enums.BaseEnum;

/**
 * 钱包余额变动类型
 */
public enum WalletChangeTypeEnum implements BaseEnum<Integer> {
    ADMIN(1, "系统操作"),
    ORDER_PAY(2, "订单支付"),
    WITHDRAW(3, "余额提现"),
    RECHARGE(4, "余额充值"),
    ORDER_REFUND(5, "订单退款"),
    PUNCH(6, "打卡空投"),
    TEAM(7, "队伍[{}]额外空投"),
    INTERACT(8, "互动消耗"),
    REPAIRS(9, "装备修复"),
    WARN_PUNCH(10, "提醒打卡"),
    SHP_DEDUCT(11, "商城抵扣"),
    SHP_FALLBACK(12, "商城退单"),
    OPEN_BOX(13, "开箱"),
    MARKET_INCOME(14, "市场收入"),
    MARKET_SERVICE(15, "市场服务费"),
    ADD_MARKET(16, "市场转卖"),
    CANCEL_MARKET(17, "取消转卖退回"),
    MARKET_BUY(18, "市场购买"),
    EQUIPMENT_UPGRADE(19, "装备升级"),
    SYNTHESIS_CONSUME(20, "合成扣除"),
    SYNTHESIS_RESULT(21, "合成获得"),
    IDENTITY_PROMOTION(22, "身份晋升"),

    HOT_GIVE(23,"热豆转赠"),
    TEAM_MATERIAL_PROMOTION(24, "队伍材料升级"),
    TEAM_ORDINARY_PROMOTION(25, "队伍普通升级"),


    CREATE_GUILD(26, "创建公会消耗"),
    JOIN_GUILD(27, "加入公会消耗"),
    EDIT_GUILD_NAME(28, "修改公会名称"),
    TRANSFER_DEPLETE(29, "转赠消耗"),
    UNLOCK_SLOT(30, "解锁卡槽消耗"),

    DTS_BET(31, "调皮蛙消耗"),

    DTS_SETTLE(32, "调皮蛙空投"),

    WRENCH_CHARGE(33,"扳手工厂充能"),

    GAME_MATERIAL_STRIKE_IN(40, "时来运转空投"),
    GAME_MATERIAL_STRIKE_OUT(41, "时来运转消耗"),

    SPL_BET(34, "炸年兽消耗"),

    SPL_SETTLE(35, "炸年兽空投"),
    BREAK_CONSUME(36, "装备突破消耗"),
    EVOLVE_CONSUME(37, "装备进化消耗"),

    SPORT_MIX_INCOME(45,"运动场投放装备空投"),
    SPORT_TEAM_INCOME(46,"运动场队员助力空投"),

    SPORT_BUILD_INCOME(47,"建设运动场空投"),

    SPORT_BUILD_CONSUME(48,"建设运动场消耗"),
    SMELT_SPEEDUP(51, "装备熔炼加速"),
    SMELT_PRODUCE(52, "装备熔炼获得"),

    /**
     * 扳手变动类型
     */
    WRENCH_RECEIVE(101,"朋友贡献/领取"),

    WRENCH_TEAM_MATERIAL_PROMOTION(102, "队伍材料升级消耗"),

    WRENCH_TEAM_ORDINARY_PROMOTION(103, "队伍普通升级消耗"),

    WRENCH_CREATE_GUILD(104, "创建公会"),

    WRENCH_JOIN_GUILD(105, "加入公会"),
    WRENCH_UNLOCK_SLOT(106, "解锁卡槽消耗"),

    WRENCH_ADD_MARKET(111, "市场转卖"),

    WRENCH_CANCEL_MARKET(117,"市场转卖退回"),

    WRENCH_MARKET_BUY(118, "市场购买"),

    WRENCH_ADMIN(119,"系统操作"),

    WRENCH_REPAIRS(120,"装备修复消耗扳手"),

    WRENCH_FACTORY(121,"扳手工厂生产"),

    WRENCH_GIVE(122,"扳手工厂赠送"),
    WRENCH_TRANSFER_DEPLETE(123,"藏品转赠消耗"),

    WRENCH_SYNTHESIS_CONSUME(125,"合成消耗"),

    WRENCH_SYNTHESIS_RESULT(126,"合成获得"),
    WRENCH_SMELT_PRODUCE(127, "熔炼获得"),

    WRENCH_GAME_MATERIAL_STRIKE_IN(140, "时来运转空投"),
    WRENCH_GAME_MATERIAL_STRIKE_OUT(141, "时来运转消耗"),

    // 下面力豆

    LIDOU_SPORT_MIX_INCOME(201,"加油运动场"),
    LIDOU_SPORT_TEAM_INCOME_NEW(202,"新人助力"),
    LIDOU_SPORT_TEAM_INCOME_OLD(203,"全力助力"),

    LIDOU_SPORT_BUILD_INCOME(204,"我的运动场"),

    LIDOU_SPORT_BUILD_CONSUME(205,"建设运动场"),

    LIDOU_TRANSFER_DEPLETE(206,"转赠藏品消耗"),

    LIDOU_GIVE(207,"力豆赠送"),
    LIDOU_GAME_MATERIAL_STRIKE_IN(208, "时来运转空投"),
    LIDOU_GAME_MATERIAL_STRIKE_OUT(209, "时来运转消耗"),
    LIDOU_UNLOCK_SLOT(206, "解锁卡槽消耗"),
    LIDOU_SPORT_TEAM_INCOME_NEW_NEXT(210,"二级新人助力"),
    LIDOU_SPORT_TEAM_INCOME_OLD_NEXT(211,"二级全力助力"),
    ;

    private final Integer value;
    private final String msg;

    WalletChangeTypeEnum(Integer value, String description) {
        this.value = value;
        this.msg = description;
    }

    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
